package cn.fzkj.springcloud.mapper;

import cn.fzkj.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PaymentMapper {

    /**
     * 创建
     * @param payment
     * @return
     */
    int create(Payment payment);

    /**
     * 获取
     * @param id
     * @return
     */
    Payment getPaymentById(@Param("id") Long id);

}
